<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2020/6/11
 * Time: 16:59
 */

namespace App\Models;


use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class SendOrderPattern extends Model
{
    use SoftDeletes;
    protected  $table ='send_order_pattern';
    /**
     * @return \Illuminate\Database\Eloquent\Relations\HasMany
     * 服务表
     */
    public function service()
    {
        return $this->hasMany(Service::class,'id','service_id');
    }
}